package cn.wdm.ymcc.constants;

public enum YmccError {
    NO_EMPTY_EMP_NAME("4000", "啊！员工名字不能为空！！");
    /**
     * 错误码
     */
    private String code;

    /**
     * 错误描述
     */
    private String message;

    YmccError(String code, String msg) {
        this.code = code;
        this.message = msg;
    }
    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}